package com.waimai.utils;

import java.util.Date;

public class DateUtils {
	@SuppressWarnings("deprecation")
	public static int getHours() {
		return new Date().getHours();
	}

	@SuppressWarnings("deprecation")
	public static int getDate() {
		return new Date().getDate();
	}

	@SuppressWarnings("deprecation")
	public static int getMonth() {
		return new Date().getMonth();
	}

	@SuppressWarnings("deprecation")
	public static int getMinutes() {
		return new Date().getMinutes();
	}

	@SuppressWarnings("deprecation")
	public static int getSeconds() {
		return new Date().getSeconds();
	}

}
